package ru.papergames.battleserver.network.serverpackets.flashuser;

/**
 * @author Alexander Troshanin
 */
public class BattlePlayerStartedTurn extends PaperGameServerPacket {

    private final long battlePlayerId;

    public BattlePlayerStartedTurn(long battlePlayerId) {
        this.battlePlayerId = battlePlayerId;
    }

    @Override
    protected int getPacketId() {
        return BATTLE_PLAYER_STARTED_TURN_PACKET_ID;
    }

    @Override
    protected void writePacketData() {
        writeQ(battlePlayerId);
    }

}
